#!/bin/bash
cp uni.src uni.dct
cp bi.src bi.dct
#cat c4.dct |./usr.sh
cat c4.dct >> uni.dct
cat usr.dct |./usr.sh
LC_ALL=C sort uni.dct|./setup.py -m > uni_.dct
LC_ALL=C sort bi.dct|./setup.py -m |./bi.py > bi_.dct

LC_ALL=C sort nr.dct|./ne.py -r > nr_.dct
LC_ALL=C sort ns.dct|./ne.py -s > ns_.dct
LC_ALL=C sort tr.dct|./ne.py -t > tr_.dct

cat uni_.dct bi_.dct nr_.dct ns_.dct tr_.dct | LC_ALL=C sort -k1,1 -k2,2n |./setup.py -a > hidict.dct
rm uni_.dct bi_.dct nr_.dct ns_.dct tr_.dct
